﻿<Window x:Class="Resn.WhuPub.WPFClientUI.SearchBranchWindow"
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
      WindowStartupLocation="CenterScreen" Style="{StaticResource WindowStyle}"
        Loaded="Window_Loaded" MouseDown="Window_OnMouseDown" >
        <Grid Name="LayoutRoot">
                <Grid.RowDefinitions>
                        <RowDefinition Height="Auto" />
                        <RowDefinition Height="Auto"/>
                        <RowDefinition Height="Auto" />
                </Grid.RowDefinitions>

                <Grid Background="{StaticResource TitleGridColor}">
                        <TextBlock Text="搜索校区" Style="{DynamicResource BigTextBlockStyle}"/>
                </Grid>
                

                <Grid Grid.Row="1" Background="{StaticResource ContentGridColor}">
                        <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                                <RowDefinition Height="Auto" />
                                <RowDefinition Height="Auto" />
                        </Grid.RowDefinitions>
                        <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                        </Grid.ColumnDefinitions>
                        <TextBlock Grid.Column="0" Grid.Row="0" Text="省份"   />
                        <TextBox Grid.Column="1" Grid.Row="0" Text="{Binding ProvinceString}" />
                        
                        <TextBlock Grid.Column="0" Grid.Row="1" Text="城市"  />
                        <TextBox Grid.Column="1" Grid.Row="1" Text="{Binding CityString}" />
                </Grid>

                <Grid Grid.Row="2" Background="{StaticResource ContentGridColor}">
                        <Grid.ColumnDefinitions>
                                <ColumnDefinition />
                                <ColumnDefinition Width="Auto" />
                                <ColumnDefinition Width="Auto" />
                        </Grid.ColumnDefinitions>
                        <Button Grid.Column="1" Style="{DynamicResource WindowCancelButtonStyle}"/>
                        <Button Grid.Column="2" Style="{DynamicResource WindowAcceptButtonStyle}" Click="AcceptButton_Click" />
                </Grid>
        </Grid>
</Window>